package com.yicong.ants.bean.tourism;

/**
 * @author cchao
 * @version 2019-07-01.
 */
public class TourismRecItem {
    /**
     * scenic_id : 1145
     * name : 广州塔（433米白云星空观光）
     * short_title : 广州塔
     * thumbnail : http://www.zslyadmin.com/Uploads/Picture/2018-08-23/857d157097e.jpg
     */

    private String senic_id;
    private String name;
    private String short_title;
    private String thumbnail;

    public TourismRecItem() {
    }

    public String getSenic_id() {
        return this.senic_id;
    }

    public String getName() {
        return this.name;
    }

    public String getShort_title() {
        return this.short_title;
    }

    public String getThumbnail() {
        return this.thumbnail;
    }

    public void setSenic_id(String senic_id) {
        this.senic_id = senic_id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setShort_title(String short_title) {
        this.short_title = short_title;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof TourismRecItem)) return false;
        final TourismRecItem other = (TourismRecItem) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$senic_id = this.getSenic_id();
        final Object other$senic_id = other.getSenic_id();
        if (this$senic_id == null ? other$senic_id != null : !this$senic_id.equals(other$senic_id))
            return false;
        final Object this$name = this.getName();
        final Object other$name = other.getName();
        if (this$name == null ? other$name != null : !this$name.equals(other$name)) return false;
        final Object this$short_title = this.getShort_title();
        final Object other$short_title = other.getShort_title();
        if (this$short_title == null ? other$short_title != null : !this$short_title.equals(other$short_title))
            return false;
        final Object this$thumbnail = this.getThumbnail();
        final Object other$thumbnail = other.getThumbnail();
        if (this$thumbnail == null ? other$thumbnail != null : !this$thumbnail.equals(other$thumbnail))
            return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof TourismRecItem;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $senic_id = this.getSenic_id();
        result = result * PRIME + ($senic_id == null ? 43 : $senic_id.hashCode());
        final Object $name = this.getName();
        result = result * PRIME + ($name == null ? 43 : $name.hashCode());
        final Object $short_title = this.getShort_title();
        result = result * PRIME + ($short_title == null ? 43 : $short_title.hashCode());
        final Object $thumbnail = this.getThumbnail();
        result = result * PRIME + ($thumbnail == null ? 43 : $thumbnail.hashCode());
        return result;
    }

    public String toString() {
        return "TourismRecItem(senic_id=" + this.getSenic_id() + ", name=" + this.getName() + ", short_title=" + this.getShort_title() + ", thumbnail=" + this.getThumbnail() + ")";
    }
}
